home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
util
/
text
/
xes.lha
/
XES
/
REXX
/
CopyRec.xdme
< prev
next >
Wrap
Text File
|
1995-08-01
|
472b
|
21 lines
/* $VER: CopyRec.xdme 1.0 (01 Aug 1995) */
/* Copyright © 1995 Fergus Duniho */
/* This copies a block of text that is marked both as
* a rectangle and as a vertical block */
ARG start end
width = end - start
bsave "T:temp"
CALL Open(input,"T:temp","R")
CALL Open(output,"T:rectangle","W")
DO FOREVER
line = Substr(Readln(input),start,width)
IF Eof(input) THEN LEAVE
CALL Writeln(output,line)
END
CALL Close(input)
CALL Close(output)
CALL Delete("T:temp")